#!/bin/bash
while true
do
    rm -rf /opt/logs/logs/core/*
done